package com.dao;

import com.entity.Publicbuildings;
import com.entity.PublicbuildingsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface PublicbuildingsDao {
    long countByExample(PublicbuildingsExample example);

    int deleteByExample(PublicbuildingsExample example);

    int deleteByPrimaryKey(Integer pbid);

    int insert(Publicbuildings record);

    int insertSelective(Publicbuildings record);

    List<Publicbuildings> selectByExample(PublicbuildingsExample example);

    Publicbuildings selectByPrimaryKey(Integer pbid);

    int updateByExampleSelective(@Param("record") Publicbuildings record, @Param("example") PublicbuildingsExample example);

    int updateByExample(@Param("record") Publicbuildings record, @Param("example") PublicbuildingsExample example);

    int updateByPrimaryKeySelective(Publicbuildings record);

    int updateByPrimaryKey(Publicbuildings record);
}